#include <cstdio>
#include <cstring>
#include <iostream>
#include <algorithm>
using namespace std;
int a[2200];
int main()
{
	int t;
	cin>>t;
	while(t--)
	{
		int num = 0;
		int sum = 0;
		int n;
		cin>>n;
		for(int i = 0;i<n;i++)
		{
			cin>>a[i];
			if(a[i]%2) num++;
			sum +=a[i];
		}
		if(num>0&&num!=n||sum%2) printf("YES\n");
		else printf("NO\n");
	}
}
